﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Server.Entity
{
    public class Position
    {
        public List<PositionDetail> PositionDetailsList { get; set; } = new List<PositionDetail>();

        /// <summary>
        /// 站点名称
        /// </summary>
        public string PositionName { get; set; } = string.Empty;

        /// <summary>
        /// 站位IP信息
        /// </summary>
        public string PositionIp { get; set; } = string.Empty;

        /// <summary>
        /// IP和端口号
        /// </summary>
        public string PositionIpAndPort { get; set; } = string.Empty;

        /// <summary>
        /// 站位存放文件夹
        /// </summary>
        public string PositionFolder { get; set; } = string.Empty;

        /// <summary>
        /// 站位文件名称
        /// </summary>
        public string PositionFileName{ get; set; } = string.Empty;

        /// <summary>
        /// 站位文件上传状态
        /// </summary>
        public string PositionFileUploadStatus { get; set; } = string.Empty;

        public string TestState { get; set; } = string.Empty;

        public string WorkNo { get; set; } = string.Empty;

        public string PartNo { get; set; } = string.Empty;

        /// <summary>
        /// 站位上传进度条
        /// </summary>
        public string PositionUpProcess { get; set; } = "0";

        /// <summary>
        /// 站位文件数量
        /// </summary>
        public int PositionFileSize { get; set; } = 0;

        public long PositionFileLength { get; set; } = 0;
        public bool FileStatus { get; set; } = false;

    }
}
